package com.chenfan.mcn.model.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 直播合同添加商品
 * @author wulg
 * @date 2023/3/13
 */
@Data
public class LiveContractAddCommodityDTO implements Serializable {

    private static final long serialVersionUID = -9029326952525756826L;

    /**
     * 直播商品主键ID-数组
     */
    @NotEmpty(message = "直播商品主键ID（数组）不能为空")
    private List<Long> liveCommodityIdList;

    /**
     * 直播合同ID
     */
    @NotNull(message ="直播合同id")
    private Long liveContractId;
}
